function fuckyou(){   
 window.close(); //关闭当前窗口(防抽)   
 window.location="about:blank"; //将当前窗口跳转置空白页   
}   
function hehe(){   
if( (window.console && (console.firebug || console.table && /firebug/i.test(console.table()) )) || (typeof opera == 'object' && typeof opera.postError == 'function' && console.profile.length > 0)){   
 fuckyou();   
}   
if(typeof console.profiles =="object"&&console.profiles.length > 0){   
fuckyou();   
}   
}   
hehe();   
window.onresize = function(){   
if((window.outerHeight-window.innerHeight)>200)   
//判断当前窗口内页高度和窗口高度，如果差值大于200，那么呵呵   
 fuckyou();   
}
document.oncontextmenu=function(e){return   false;}; 
window.addEventListener('keydown', function (e) {
    if(e.keyCode == 83 && (navigator.platform.match('Mac') ? e.metaKey : e.ctrlKey)){
        e.preventDefault();
    }
})